/* general */

body{
        background-color: #f9f9f9;
        margin: 0;
        padding: 0;
        text-align: center;
        font-family: Arial,Helvetica,sans-serif;
        color: #777777;
        font-size: 95%;
}

a{
        color: #4169e1;
        text-decoration: none;
}

a:visited{
        color: #9932cc;
}

a:hover{
        color: #ff4500; 
        text-decoration: underline;
}

a:active{
        color: #9932cc;
}

h1{
        font-size: 26px;
}

h2{
        font-size: 22px;
}

h3{
        font-size: 18px;
}

table{
        width: 100%;
        margin: 10px 0 10px 0;
}

.alignRight{
        text-align: right;
}

.alignLeft{
        text-align: left;
}

.alignCenter{
        text-align: center;
}

.floatLeft{
        float: left;
}

.floatRight{
        float: right;
}

.displayInline{
        display: inline;
}

.tableHeader{
        margin-bottom: 0;
}

/* tables */

table.bgptable td.radio{
        text-align: center;
        width: 30px;
}

table.bgptable tr th{
        border: 1px solid #778899;
        background-color: #778899;
        padding: 10px;
        color: #ffffff;
}

table.bgptable tr td{
        border: 1px solid #E5E5E5;
        padding: 10px;
}

/* divs */

#container{
        margin: 20px auto;
        padding: 0;
        width: 80%;
        text-align: left;
        background-color: white;
}

#header{
        /* background-color: #686868; */
        background-color: #f9f9f9;
        width: 100%;
        padding: 0;
}

#content_box{
        background-image: url(container-bg.gif);
        background-position: left;
        background-repeat: repeat-y;
        border: 1px solid #E5E5E5;
        padding: 0;
        width: 100%;
}

#footer{
        padding: 5px;
        /* background-color: #686868; */
        background-color: #f9f9f9;
        color: #494949;
        font-size: 12px;
        text-align: center;
}

#header h1{
        font-size: 35px;
        margin: 0;
        padding: 0;
        color: #494949;
        float: left;
}

/* header menu */
#header_menu{
        width: 200px;
        padding: 0;
        float: right;
        font-size: 13px;
        text-align: right;
        margin-top: 20px;
}

#header_menu ul{
        margin: 0;
        padding: 0;
        list-style: none;
}

#header_menu ul li{
        margin: 0 5px 0 0;
        display: inline;
}

/* sidebar */

#sidebar{
        width: 200px;
        padding: 0;
        text-align: center;
        float: left;
        margin: 10px 0 10px 10px;
}

#sidebar ul{
        margin: 0;
        padding: 0;
        list-style: none;
}

#sidebar ul li{
        border: 1px solid #E5E5E5;
        padding: 0;
        margin: 0 0 5px 0;
}

#sidebar ul li a{
        text-decoration: none;
        color: #777777;
        display: block;
        padding: 5px;
}

#sidebar ul li a:hover{
        background-color: #778899;
        color: #FFFFFF;
}

#sidebar ul li:hover a{
        color: #FFFFFF;
}


/* content */
#content{
        margin: 10px 10px 10px 230px;
        height: 700px;
}

#content .contentTitle{
        margin-top: 0;
}


/* login page and register page*/

.login_page #container{
        background-color: transparent;
        background-image: none;
        border: none;
}

.login_page #header{
        text-align: center;
        border: none;
        background-color: transparent;
}

.login_page #header h1{
        color: #494949;
        float: none;
}

#login,
#register{
        width: 290px;
        margin: 0 auto;
}

.login_page #content{
        margin: 0;
}

#loginForm,
#registerForm{
        width: 280px;
        padding: 10px;
        background-color: white;
        border: 1px solid #E5E5E5;
        text-align: left;
        margin-top: 10px;
}


.form_row{
        margin-bottom: 5px;
}

#loginForm .label,
#registerForm .label{
        margin-right: 10px;
        color: #777777;
}

#loginForm input,
#registerForm input{
        background:none repeat scroll 0 0 #FBFBFB;
        border:1px solid #E5E5E5;
        font-size:20px;
        margin-bottom:16px;
        margin-right:6px;
        margin-top:2px;
        padding:3px;
        color: #777777;
        width: 270px;
}

#loginForm .submit,
#registerForm .submit{
        text-align: right;
}

#loginForm input.submit_input,
#registerForm input.submit_input{
         color: #777777;
         font-size: 16px;
         width: 100px;
}

#loginForm input.submit_input:hover,
#registerForm input.submit_input:hover{
        background-color: #f1f1f1;
        cursor: pointer;
}

/* clearfix */

.clear{
        clear: both;
}

.clearfix:after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}  /* for IE/Mac */
